<?php
class Account_func {

	function subSectionName($segment4) {
		//$segment4 = $this->uri->segment(4);
		$return = NULL;
		
		switch ($segment4) {
			case "ecurrency":{
				$return = "E-currency Deposit";
				break;
			}
			
			case "deposit":{
				$return = "Add Money";
				break;
			}
			
			case "withdrawal":{
				$return = "Withdrawal";
				break;
			}
			
			case "send-money":{
				$return = "Send Money";
				break;
			}
			
			case "mass-payment":{
				$return = "Mass Payment";
				break;
			}
			
			case "request-money":{
				$return = "Request Money";
				break;
			}
			
			case "internal-transfer":{
				$return = "Internal Transfer";
				break;
			}
			
			case "exchange":{
				$return = "Currency Exchange";
				break;
			}
			
			case "wallets":{
				$return = "Wallets and Currencies";
				break;
			}
			
			case "wallet":{
				$return = "Wallet Properties";
				break;
			}
			
			default:{ 
					;
				break;
			}
		}
		
		return $return;
	}
	
	/**
	 * 
	 * Returns the user readable string for the given payment system id string
	 * @param $ps - payment system id string
	 */
	function ps_string($ps = NULL){
		switch ($ps) {
			case "perfectmoney": {
				$str = "Perfect Money";
				break;
			}
			
			default: {
				$str = "";
				break;
			}
		}
		
		return $str;
	}
	
	
}